﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XML_Programming_Assignment_Thandar_.Class
{
    class QuotationItem
    {
        string productID = "";
        int quotationNum = 0;
        int quantity = 0;
        double unitprice = 0.0;
        double totalprice = 0.0;

        public QuotationItem()
        {
            productID = "";
            quotationNum = 0;
            quantity = 0;
            unitprice = 0.0;
            totalprice = 0.0;
        }

        public QuotationItem(string id, int quotationNo, int quantities, double price, double total)
        {
            this.productID = id;
            this.quotationNum = quotationNo;
            this.quantity = quantities;
            this.unitprice = price;
            this.totalprice = total;
        }

        public string ProductID
        {
            get { return productID; }
            set { productID = value; }
        }

        public int QuotationNum
        {
            get { return quotationNum; }
            set { quotationNum = value; }
        }

        public int Quantity
        {
            get { return quantity; }
            set { quantity = value; }
        }

        public double UnitPrice
        {
            get { return unitprice; }
            set { unitprice = value; }
        }

        public double TotalPrice
        {
            get { return totalprice; }
            set { totalprice = value; }
        }
    }
}
